﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using SewerAPI.Util;

namespace SewerAPI
{
    public class SewerClient
    {
        #region Private Fields

        private static SewerClient instance;

        #endregion

        #region Public Fields

        /// <summary>
        /// Return a new instance of the sewerclient.
        /// </summary>
        public static SewerClient Instance
        {
            get
            {
                if (instance == null)
                    instance = new SewerClient();
                return instance;
            }
        }

        /// <summary>
        /// Return the logger object
        /// </summary>
        public SewerLogger Log 
        {
            get
            {
                return SewerLogger.Instance;
            }
        }

        #endregion

        /// <summary>
        /// Private constructor for singleton purposes
        /// </summary>
        private SewerClient()
        {

        }
    }
}
